//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "TAVIFileParameterForm.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "cspin"
#pragma resource "*.dfm"
TAVIFileParameterForm *AVIFileParameterForm;
//---------------------------------------------------------------------------
__fastcall TAVIFileParameterForm::TAVIFileParameterForm(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TAVIFileParameterForm::OKButtonClick(TObject *Sender)
{
	ButtonID = ID_OK;
	Close();
	return;
}

//---------------------------------------------------------------------------
void __fastcall TAVIFileParameterForm::CancelButtonClick(TObject *Sender)
{
	ButtonID = ID_CANCEL;
	Close();
	return;
}

//---------------------------------------------------------------------------
void __fastcall TAVIFileParameterForm::ExportCheckMapCheckBoxClick(TObject *Sender)

{
	if (ExportCheckMapCheckBox->Checked || ExportAnimalCheckBox->Checked)
		OKButton->Enabled = true;
	else
		OKButton->Enabled = false;
	return;
}

//---------------------------------------------------------------------------
void __fastcall TAVIFileParameterForm::ExportAnimalCheckBoxClick(TObject *Sender)

{
	if (ExportCheckMapCheckBox->Checked || ExportAnimalCheckBox->Checked)
		OKButton->Enabled = true;
	else
		OKButton->Enabled = false;
	return;
}
//---------------------------------------------------------------------------
